package co.angluzha.commons.base.result;

import lombok.Getter;

/**
 * co.angluzha.commons.base.result文档说明
 *
 * @author Angluzha
 * @version 2022/11/21
 */
@Getter
public enum Codes {
    SUCCESS(200,"成功"),
    FAIL(100,"服务器故障");


    private Integer code;
    private String msg;

    Codes(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
